package com.bean;

public class Student {
  private String stuid;
  private String name;
  private String sex;
  private int age;
  private String address;

  public Student() {}

  public Student(String stuid, String name, String sex, int age, String address) {
    this.stuid = stuid;
    this.name = name;
    this.sex = sex;
    this.age = age;
    this.address = address;
  }

  public String getStuid() {
    return stuid;
  }

  public void setStuid(String stuid) {
    this.stuid = stuid;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public int getAge() {
    return age;
  }

  public void setAge(int age) {
    this.age = age;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  @Override
  public String toString() {
    return (stuid + "\t" + name + "\t" + sex + "\t" + age + "\t" + address);
  }
}
